﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using RESTServices.Dominio;
using System.ServiceModel.Web;


namespace RESTServices
{
    [ServiceContract]
    public interface ICiudadanos
    {
        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Ciudadanos/{dni}", ResponseFormat = WebMessageFormat.Json)]
        Ciudadano ObtenerXDNI(string dni);
    }
}
